Interface sbktech.tools.hashjava.bytecode.Modifiable
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface sbktech.tools.hashjava.bytecode.Modifiable

public interface Modifiable
extends Object
A Modifiable class contains a symbol that can be renamed. You can examine and alter the symbols name with this interface. There are only three types of modifiable objects -- classnames, fields in a class and methods in a class.
Author:
$Author: kbs $
See Also:
definedFields, definedMethods

Method Index

 o newName()
Get the (possibly renamed) name for this Symbol
 o originalName()
Get the original name for this Symbol
 o permissions()
get the access permissions for this symbol
 o rename(String)
Rename the symbol

Methods

 o permissions
  public abstract int permissions()
get the access permissions for this symbol
Returns:
an integer (see values in VMConstants) with the access permissions for this symbol
See Also:
VMConstants
 o originalName
  public abstract String originalName()
Get the original name for this Symbol
 o newName
  public abstract String newName()
Get the (possibly renamed) name for this Symbol
 o rename
  public abstract void rename(String newName)
Rename the symbol
Parameters:
newName - set the new name for this symbol

All Packages  Class Hierarchy  This Package  Previous  Next  Index